package com.csci;

public class Display {
	Sudoku sudoku;

	public Display(Sudoku sudoku) {
		this.sudoku = sudoku;
	}
	
	public void displaySudokuPuzzleGrid() {
		for(int puzzleRow = 0; puzzleRow < sudoku.dimension; puzzleRow++){
			if(puzzleRow == 3 || puzzleRow == 6){
				System.out.println();
			}
			for(int puzzleCol = 0; puzzleCol < sudoku.dimension; puzzleCol++){
				System.out.print(sudoku.puzzleGrid[puzzleRow][puzzleCol]+ " ");
				if(puzzleCol == 2 || puzzleCol == 5){
					System.out.print(" ");
				}
			}
			System.out.println();
		}
	}
}
